Tramp: Handle PIN requests from security keys
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 9 Feb 2024 10:21:05 +0000 (11:21 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 9 Feb 2024 10:21:05 +0000 (11:21 +0100)
commit8d6a8e573f9a1e4eb9ebbc0ec244907263e61bb8
treeb34dde37aba1575a39e0c56974edfcfeaf3c14ea
parent8d09e1def55e57a8c627ba704289f796c48a085d
Tramp: Handle PIN requests from security keys

* doc/misc/tramp.texi (Frequently Asked Questions): Clarify FIDO entry.

* lisp/net/tramp-sh.el (tramp-actions-before-shell)
(tramp-actions-copy-out-of-band):
Use `tramp-security-key-pin-regexp'.

* lisp/net/tramp.el (tramp-security-key-pin-regexp): New defcustom.
(tramp-action-otp-password, tramp-read-passwd): Trim password prompt.
(tramp-action-show-and-confirm-message): Expand for PIN requests.
doc/misc/tramp.texi
lisp/net/tramp-sh.el
lisp/net/tramp.el